package com.tangly.codeing.model;

import com.auth0.jwt.Algorithm;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

/**
 * 后台用户表
 * @author tangbing
 * @date 2019/4/28
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SysUser implements Serializable {
    private static final long serialVersionUID = 42L;

    /**
    * id
    */
    private Long id;

    /**
     * uuid
     */
    private String uuid;

    /**
    * 登录账号
    */
    private String loginName;

    /**
    * 密码
    */
    private String password;

    /**
     * 用户头像
     */
    private String avatar;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 是否使用
    */
    private Object isUse;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Object getIsUse() {
        return isUse;
    }

    public void setIsUse(Object isUse) {
        this.isUse = isUse;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}